Optimal. Leaf size=39 \[ \frac{2^n x^{m+1} \, _2F_1\left (\frac{m+1}{2},-n;\frac{m+3}{2};a^2 x^2\right )}{m+1} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0479943, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{2^n x^{m+1} \, _2F_1\left (\frac{m+1}{2},-n;\frac{m+3}{2};a^2 x^2\right )}{m+1} \]
Antiderivative was successfully verified.
[In] Int[x^m*(1 - a*x)^n*(2 + 2*a*x)^n,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 7.88774, size = 31, normalized size = 0.79 \[ \frac{2^{n} x^{m + 1}{{}_{2}F_{1}\left (\begin{matrix} - n, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{a^{2} x^{2}} \right )}}{m + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(-a*x+1)**n*(2*a*x+2)**n,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0738082, size = 68, normalized size = 1.74 \[ \frac{x^{m+1} (1-a x)^n (2 a x+2)^n \left (1-a^2 x^2\right )^{-n} \, _2F_1\left (\frac{m+1}{2},-n;\frac{m+1}{2}+1;a^2 x^2\right )}{m+1} \]
Antiderivative was successfully verified.
[In] Integrate[x^m*(1 - a*x)^n*(2 + 2*a*x)^n,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.243, size = 0, normalized size = 0. \[ \int{x}^{m} \left ( -ax+1 \right ) ^{n} \left ( 2\,ax+2 \right ) ^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(-a*x+1)^n*(2*a*x+2)^n,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (2 \, a x + 2\right )}^{n}{\left (-a x + 1\right )}^{n} x^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*a*x + 2)^n*(-a*x + 1)^n*x^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (2 \, a x + 2\right )}^{n}{\left (-a x + 1\right )}^{n} x^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*a*x + 2)^n*(-a*x + 1)^n*x^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(-a*x+1)**n*(2*a*x+2)**n,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (2 \, a x + 2\right )}^{n}{\left (-a x + 1\right )}^{n} x^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*a*x + 2)^n*(-a*x + 1)^n*x^m,x, algorithm="giac")
[Out]